package model.kml;

public class IconStyle implements GeometryStyle {
	
	private Icon icon;
	private String color;
	private String colorMode;
	private Double scale;
	
	public IconStyle(){}
	
	@Override
	public String toString(){
		return "<IconStyle>\n" +
				"<color>"+this.color+"</color>\n" +
				"<colorMode>"+this.colorMode+"</colorMode>\n" +
				"<scale>"+this.scale+"</scale>\n" +
				this.icon.toString() +
				"</IconStyle>\n";
	}

	public Icon getIcon() {
		return icon;
	}

	public void setIcon(Icon icon) {
		this.icon = icon;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getColorMode() {
		return colorMode;
	}

	public void setColorMode(String colorMode) {
		this.colorMode = colorMode;
	}

	public Double getScale() {
		return scale;
	}

	public void setScale(Double scale) {
		this.scale = scale;
	}

}
